package com.shop.milk_tea_shop.service;

import com.shop.milk_tea_shop.common.Result;
import com.shop.milk_tea_shop.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.milk_tea_shop.request.PagedRequest;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yjw
 * @since 2024-06-16
 */
public interface UserInfoService extends IService<UserInfo> {

    Result<List<UserInfo>> paged(PagedRequest request);


    Result<UserInfo> add(UserInfo userInfo);

    UserInfo selectByTel(UserInfo userInfo);
}
